package me.zhengjie.sqlservice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import me.zhengjie.mapper.LiftTaskHistoryMapper;
import me.zhengjie.pojo.entity.LiftTaskHistory;
import me.zhengjie.sqlservice.LiftTaskHistoryService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class LiftTaskHistoryServiceImpl extends ServiceImpl<LiftTaskHistoryMapper, LiftTaskHistory> implements LiftTaskHistoryService {
    private final LiftTaskHistoryMapper liftTaskHistoryMapper;
    @Override
    public boolean insertLiftTask(LiftTaskHistory liftTaskHistory) {
        return liftTaskHistoryMapper.insert(liftTaskHistory) >0;
    }
}
